<% cache "activity-profile-pic-#{activity['actor'].id}-#{activity['actor'].profile_image_url}" do %>
  <a href="<%= activity['actor'].path %>" class="small-pic-link-wrapper">
    <div class="small-pic">
      <img src="<%= ProfileImage.new(activity['actor']).get %>" alt="<%= activity['actor'].username %> profile image">
    </div>
  </a>
<% end %>
<% cache "activity-follow-button-#{activity['actor'].path}-#{activity['actor'].name}" do %>
  <div class="content notification-content comment-content">
      <a href="<%= activity['actor'].path %>"><%= activity['actor'].name %></a> followed you!
      <%= follow_button(activity['actor'], "follow-back") %>
  </div>
<% end %>